
/* pages/faq/faq.wxss */
.faq-container {
  padding: 20rpx;
  background-color: #f7f7f7;

  // 标题
  .faq-title {
    font-size: 36rpx;
    font-weight: bold;
    color: #333;
    margin-bottom: 30rpx;
    border-left: 8rpx solid #97613d;
    padding-left: 20rpx;
  }

  .rule-index {
    width: 40rpx;
    height: 40rpx;
    background-color: #409EFF;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40rpx;
    font-size: 26rpx;
    font-weight: bold;
    margin-right: 12rpx;
  }

  // 单个问题项
  .faq-item {
    background-color: #fff;
    margin-bottom: 20rpx;
    border-radius: 12rpx;
    box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;

    &:active {
      transform: scale(0.98);
      box-shadow: 0 1rpx 5rpx rgba(0,0,0,0.1);
    }
  }

  // 问题行（带箭头）
  .question-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24rpx;
    height: 30px;
    cursor: pointer;
    .question {
      font-size: 32rpx;
      color: rgb(51, 51, 51);
      line-height: 48rpx;
    }

    .arrow {
      width: 40rpx;
      transition: transform 0.3s ease;
    }
  }

  // 答案区域
  .answer {
    padding: 0 24rpx 24rpx;
    font-size: 28rpx;
    color: rgb(157, 154, 154);
    line-height: 44rpx;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: 
      max-height 0.3s ease, 
      opacity 0.3s ease;
  }
} 